package com.bw.heishou;

import com.bw.heishou.Bean.UserBean;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface HeiApi {
    public static String req="http://118.195.161.134:8087";
    @POST("/videouser/login")
    Observable<UserBean>  log(@Body RequestBody body);

    @POST("/videouser/register")
    Observable<UserBean>  reg(@Body RequestBody body);
}
